﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace S.Organization.API.Application.Command.SupplierCommand
{
    public class AddSupplierCommand:IRequest<int>   
    {
        /// <summary>
        /// 供应商Id
        /// </summary> 
        public int SupplierId { get; set; }

        /// <summary>
        /// 供应商名称、
        /// </summary> 
        public string? SupplierName { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? SupplierNumber { get; set; }
        /// <summary>
        /// 供应商类型、
        /// </summary> 
        public bool SupplierType { get; set; }
        /// <summary>
        /// 负责人电话、
        /// </summary> 
        public string? PrincipalTelephone { get; set; }
        /// <summary>
        /// 录入单位、
        /// </summary> 
        public string? InputUnit { get; set; }
        /// <summary>
        /// 使用单位、
        /// </summary> 
        public string? BuildingUser { get; set; }
        /// <summary>
        /// 所属市场、
        /// </summary> 
        public string? Market { get; set; }
        /// <summary>
        /// 服务人员、
        /// </summary> 
        public string? ServiceStaff { get; set; }
        /// <summary>
        /// 归集档案、
        /// </summary> 
        public string? CollectionFile { get; set; }
        /// <summary>
        /// 使用状态、
        /// </summary> 
        public bool? UseOftate { get; set; }
        /// <summary>
        /// 负责人姓名、
        /// </summary> 
        public string? PrincipalName { get; set; }
        /// <summary>
        /// 身份证、
        /// </summary> 
        public string? IDNumber { get; set; }
        /// <summary>
        /// 所在地、
        /// </summary> 
        public string? Location { get; set; }
        /// <summary>
        /// 所属行业、
        /// </summary> 
        public string? IndustryInvolved { get; set; }
        /// <summary>
        /// 所属单位、
        /// </summary> 
        public string? AffiliatedUnit { get; set; }
        /// <summary>
        /// 业务员、
        /// </summary> 
        public string? Salesman { get; set; }
        /// <summary>
        /// 供应商头像
        /// </summary> 
        public string? SupplierImg { get; set; }
        /// <summary>
        /// 合作日期
        /// </summary> 
        public DateTime DateOfCooperation { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}
